load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "core",
    srcs = [
        "config.go",
        "log.go",
        "server.go",
    ],
    importpath = "gitee.com/hwpro/cvecompetition/core",
    visibility = ["//visibility:public"],
    deps = [
        "//config",
        "//global",
        "//sysinit",
        "//utils",
        "@com_github_fsnotify_fsnotify//:fsnotify",
        "@com_github_lestrrat_go_file_rotatelogs//:go-file-rotatelogs",
        "@com_github_op_go_logging//:go-logging",
        "@com_github_spf13_viper//:viper",
    ],
)
